import { createWindow } from './window'
import { BrowserWindow } from 'electron'

let win: null | BrowserWindow = null

export function createConfigWindow() {
  if (!win) {
    win = createWindow()
  }
  win.on('closed', () => {
    win = null
  })
}
